@import (css) 	"fonts/font-awesome/font.css";
@import (css)	url(//fonts.googleapis.com/css?family=Raleway:400,300,500,600,700);
@import (css)	url(//fonts.googleapis.com/css?family=Lato:300,400,700,900);

@import (less) 	"mixin.less";
@import (css) 	"icheck/minimal.css";
@import (css) 	"base/normalize.css";
@import (less) 	"base/misc.less";
@import (css) 	"mscrollbar/jquery.mCustomScrollbar.css";


/*

DONT EDIT THIS CSS FILE!
PLEASE EDIT THE LESS ONE!!!

*/





/*

Summary

	# Variables
	# Standardise
	# Standardise - Form Element
	# Standardise - Wrapper
	# Standardise - Block Element
	# Standardise - MISC
	# Standardise - Swiper
	# Header & Footer
    # Global pages
    # Homepage
    # Article
    # Blog List
    # Login & Register
    # Profile page
    # Search page
    # Custom page

*/






/*
# Standardise
*/






.mobile-invisible {
    display: none !important;
}
html, body, #page {
    height: 100%;
}
body {
	font-family: @lato;
	font-size: 16px;
	line-height: 1.25;
	color: @text;
    overflow: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

    &.cke_show_borders {
        min-width: 0;
    }
	&.menu-on {

		#page,
		#navigation .nav-menu {
			.translate(@menu-width,0,0);
		}
	}
}
#page {
	.transition();
}
h1, h2, h3, h4, h5, h6, [class$="-title"] {
    line-height: 1.25;

	a {
		color: inherit;
		text-decoration: none;

		&:hover {
			text-decoration: underline;
		}
	}
}
h1,
h2,
.page-title,
.page__title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	color: @dark;
    margin: 0 0 0.5em;
}
h3 {
}
h4 {
    font-size: 20px;
}
p, ul {
    margin: 0 0 1em;

    a {
        text-decoration: underline;
    }
}
li {
    // margin: 1.5em 0;
}
a {
	color: @pink;
	.transition();

	&:hover {
		color: @pink-dk;
	}
    &.no-color {
        color: inherit;
    }
    &[href^="mailto:"] {
        color: inherit;
        text-decoration: none;
        word-break: break-all;

        &:hover {
            text-decoration: underline;
        }
    }
}
strong {
}
img {
	max-height: 100%;
	max-width: 100%;

	#gmap & {
		max-height: none;
		max-width: none;
	}
}
hr {
    border: none;
    border-bottom: 1px solid @border;
    margin: 2em 0;
}
blockquote {
}
td {
    padding: 10px;
}
.uppercase {
    text-transform: uppercase;
}
.pink {
    color: @pink;
}
.purple {
    color: @purple;
}






/*
# Standardise - Form Element
*/





form {
    .clearfix();
}
fieldset {
    margin: 0 0 1em;
    padding: 10px 20px;
    border: 1px solid @border;
}
legend {
    font-weight: 600;
    float: left;
    width: 100%;
    margin: 1em 0 0;
    padding: 0 0.5em;

    & + * {
        clear: left;
    }
    a {
        font-weight: inherit;
        color: inherit;
    }
}
.form-item {
    margin: 0 0 0.75em;
    position: relative;

    table.field-multiple-table &,
    .container-inline-date &,
    .views-exposed-form &,
    .text-format-wrapper & {
        margin: 0 0 12px;
    }
}
form .field {
    margin: 0;
}
.form-required {
    color: inherit;
}
.input-wrapper {
    position: relative;

    .input-icon-prefix,
    .input-icon-suffix {
        position: absolute;
        top: 50%;
        line-height: 1em;
        margin-top: -0.5em;
        pointer-events: none;
    }
    .input-icon-prefix {
        left: 0.5em;
    }
    .input-icon-suffix {
        right: 0.5em;
    }
}
label,
.field .field-label,
.views-label {
    // font-size: 12px;
    font-weight: 600;
    margin: 0 0 0.5em;
    padding: 0.5em 0 0;

    &.option {
        display: inline-block;
        vertical-align: middle;
        margin: 0 0.5em;
        text-transform: none;
    }
    .form-field-type-file legend + div > .form-item:first-child & {
        display: none;
    }
    .views-exposed-form & {
        font-weight: 600;
    }
}
.input-box() {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    border: 1px solid transparent;
    border-bottom: 1px solid @dark;
    background: transparent;
    color: @pink;
    outline: none;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-appearance: none;
    -moz-osx-font-smoothing: grayscale;
    .placeholder(@border);
    .border-box();
    .border-radius(0);
    .transition();
}
.form-text,
.form-select,
.form-textarea,
.form-managed-file .form-file {
    .input-box();

    #admin-menu & {
        height: auto;
    }
}
.form-textarea {
    height: auto;
    min-height: 10em;
}
.form-file {
    width: 100%;
    padding: 0.5em;
    border: 1px solid @border;
}
.form-type-textfield,
.form-type-password {
    width: auto;
}
.form-type-textarea {

    .resizable {

        .cke,
        .form-textarea {
//            width: 480px;
        }
    }
}
.form-type-select {

    .input-icon-suffix:after {
        content: "\f0dd";
        font-family: @fonticon;
        color: @dark;
        position: relative;
        top: -3px;
    }
    .form-select {
        padding-right: 2em;
        cursor: pointer;
    }
}
.chosen-container {
    .input-box();
    padding: 0;
    min-width: 14em;

    table & {
        width: 100% !important;
    }
    &.chosen-container-active {
        border-color: @border;
    }
    .chosen-single,
    .chosen-choices,
    &.chosen-with-drop .chosen-single {
        width: auto;
        height: auto;
        margin: 0;
        padding: 4px 10px;
        border: none;
        background: none;
        box-shadow: none;
        color: inherit;

        option {
            display: none;
        }
        & > span,
        li.search-choice,
        li.search-field input[type="text"] {
            font-family: inherit;
            // font-size: 12px;
            line-height: 18px;
            height: 20px;
            margin: 3px 5px 3px 0;
            padding: 0;
            border: 1px solid transparent;
            .border-box();
        }
        li.search-choice {
            padding: 0 20px 0 5px;
            border-color: @border;
        }

    }
    .chosen-search {
        padding: 0 10px;
        border-color: @light;

        input[type=text] {
            margin: 0 0 10px;
        }
    }
    .chosen-results {
        // font-size: 12px;
        margin: 0;
        padding: 0;

        li {
            padding-left: 10px;
            padding-right: 10px;

            &.group-result {
                font-weight: 600;
            }
        }
    }
    .chosen-drop {
        margin-left: -1px;
        border-color: @border;
        .content-box();
    }
    ul {
        line-height: inherit;
    }
    b {
        display: none !important;
    }
}
.form-radios,
.form-checkboxes,
.form-type-radios,
.form-type-checkboxes {
    margin: 0 0 1em;
    .clearfix();

    .form-type-radio,
    .form-type-checkbox {
        float: left;
        width: auto;
        min-width: 10em;
        margin-right: 2em;
    }
}
.form-type-radio,
.form-type-checkbox {

    & > .iradio,
    & > .icheck,
    & > .input-wrapper {
        float: left;

        & + label.option {
            font-size: 15px;
            font-weight: 500;
            line-height: 18px;
            display: block;
            margin: 1px 0 1px 25px;
            padding: 0;
        }
    }
}
.form-field-type-list-boolean {
    float: left;
    margin-right: 40px;

    & + * {
        clear: left;
    }
    & + .form-field-type-list-boolean {
        clear: none;
    }
}
.field-type-datetime,
.form-field-type-datetime {
    margin-right: 20px;

    fieldset {
        margin: 0;
        padding: 0;
        border: none;

        legend {
            margin: 0 0 0.5em;
            padding: 0;
        }
    }
    input + .input-icon-suffix:after {
        content: '\f017';
    }
    .start-date-wrapper,
    .end-date-wrapper {
        float: left;
        clear: none;
        margin: 0 1em 0 0;
    }
    label {
        display: none;
    }
    .form-type-textfield {

        input {
            margin: 0;
        }
    }
    input + .input-icon-suffix:after {
        content: "\f073";
        font-family: @fonticon;
        color: white;
    }
    .form-item {
        margin: 0 0 1em;

        .form-item {
            margin: 0;
        }
    }
    .hasDatepicker {
        padding-right: 2em;
        cursor: pointer;
    }
}
.form-wrapper .date-padding {
    padding: 0;
}
.date-no-float {
    width: auto;
    margin: 0;
}
.btn() {
	font-size: 15px;
    font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
    text-decoration: none;
	text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	color: white;
	display: block;
    width: auto;
    min-width: 140px;
	margin: 1em 20px;
	padding: 1em;
	border: none;
	outline: none;
	background-color: @dark;
    position: relative;
    cursor: pointer;
	-webkit-appearance: none;
	-webkit-font-smoothing: antialiased;
	-moz-appearance: none;
	-moz-osx-font-smoothing: grayscale;
	.border-box();
    .transition();
}
.btn-s() {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    min-width: 0;
    padding: 10px 15px;
    display: inline-block;
    vertical-align: middle;
    float: none;
}
.jessica-btn,
.form-submit {
    .btn();

    &:hover {
        text-decoration: none;
    }
    &[id*="upload-button"],
    &[id*="edit-preview"] {
        display: none !important;
    }
    &.small {
        .btn-s();
    }
	.views-exposed-form .views-exposed-widget & {
		margin: 0 0 1em;
	}
	& + .jessica-btn,
	& + .form-submit {
		margin-left: 1em;
	}
    &.pink {
        background-color: @pink;
    }
    &.facebook-login {
        background: #3a5795;
        color: white;
    }
}
.form-actions {
    margin: 20px 0 0;
    .clearfix();

    .form-submit,
    .riskybiz-btn {
        margin: 0 1em 0 0;
    }
}
.grippie,
.tabledrag-toggle-weight {
    display: none !important;
}
.form-disabled {

    label,
    .form-required {
        color: @light !important;
    }
    input,
    select,
    textarea {
        color: @light !important;
        border-color: @light !important;
        background-color: @light;
        .placeholder(@light) !important;
    }
    .input-icon-prefix:after,
    .input-icon-suffix:after {
        color: @light;
    }
}
div.vertical-tabs {
    margin-top: 2em;
    margin-bottom: 2em;
    clear: both;

    fieldset.vertical-tabs-pane {
        padding: 1em;
    }
}
.views-exposed-form {

    .views-exposed-widgets {
        margin: 0;
    }
    .views-exposed-widget {
        float: none;
        padding: 0;
    }
}






/*
# Standardise - Wrapper
*/






.wrapper {
	width: auto;
	margin: 0 auto;
	padding: 0 20px;
	.clearfix();
	.border-box();

    .wrapper {
        padding: 10px 0;
    }
    .region-content > &,
	.region-highlighted > &,
	.region-below-content > &,
	.region-bottom > &,
    .block-views > & {
		max-width: none;
		padding: 0;
	}
}
#main {
	position: relative;
	margin: 0 auto;
	padding: 0;
    overflow: hidden;
	.clearfix();
}
.region-content {

}
.block {
	margin: 0;

    .region-highlighted &,
    .region-bottom & {

        & > .wrapper {
			padding: 0;
			max-width: none;
        }
    }
}
.region-below-content {
    clear: both;
}
.listing-block {

    .block-title {
        margin: 0;
    }
    .view-filters {
        margin: 10px 20px;

        & + view-content {
            margin-top: 0;
            padding-top: 0;
        }
        .form-item {
            margin: 0;
        }
    }
    .views-field {
        margin: 0 0 0.5em;
    }
    span.views-field {
        font-weight: 500;
        display: inline-block;
        margin: 0 10px 0 0;
    }
    h2, h3, h4, h5, h6, p {
        margin: 0 0 0.25em;
    }
    h4 {
        font-size: 22px;
        font-weight: 400;
    }
    img {
        display: block;
    }
    .field-name-field-category {
        margin: 0 0 0.25em;
    }

    // Box design


    .views-row {
        position: relative;
        height: auto;
        min-height: 4em;
        margin: 0 0 10px;
    }
    .views-field {
        margin: 0;
    }
}
.article-list {

    .block-image + .content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0.75em 1.25em 1em;
        color: white;
        .bg-color(black,0.4);
        .border-box();

        h4 {
            font-size: 20px;
            font-weight: 700;
            line-height: 1;
            color: inherit;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0;
        }
        a {
            color: white;
        }
        .views-field-name {
            text-transform: uppercase;
        }
    }
}
.aside-block {

	.block-image {
		float: left;
		width: 100px;
		.border-box();

		& + .content {
			margin-left: 100px;
            padding-left: 10px;
		}
//        &.thumbnail {
//            width: 100px;
//            height: 100px;
//
//            & + .content {
//                margin-left: 100px;
//            }
//        }
	}
    .view-content {
        margin: 15px 0;
    }
	.views-row {
        margin: 10px 20px;
		.clearfix();
	}
    h4 {
        font-size: 16px;
    }
}
.views-view-grid {
    width: 100%;
    table-layout: fixed;

    td {
        position: relative;
    }
}
.views-table {
    width: 100%;

}
.sidebar {

}
div.wrapper-grid-table {
	margin: 0 -10px;

	img {
        width: 100%;
		display: block;
	}
}
.views-row {
	position: relative;
    .border-box();
}
.row-list {

    .views-row {
        padding: 20px 0;
        border-top: 1px solid @dark;

        .sidebar & {
            padding: 10px 0;
            border: none;
        }
    }
    .views-row-first {
        padding-top: 0;
        border: none;
    }
    &.quote-of-the-day {
        padding: 0;

        .view-header {

            &:after {
                display: none;
            }
        }
        .view-content {
            text-align: left;
            padding: 0 20px;
        }
        h3 {
            margin: 1em 0;
        }
        .views-row {
            margin: 1.5em 0;
            margin-left: 1.5em;
            padding: 0 0 1em;
            border: none;
            border-bottom: 1px solid @border;

            &:before {
                content: "";
                display: block;
                width: 0.5em;
                height: 100%;
                position: absolute;
                left: -1.5em;
                top: 0;
                bottom: 0;
                background: @pink;
            }
        }
    }
}
.grid-list {

}





/*
# Standardise - Block Element
*/





.fluid-image {
    height: 0;
    padding-bottom: 75%;
    background-size: cover;
}
.block-image {

	&.listings {
		height: 150px;
		padding: 1px;
		border: 1px solid @border;
		overflow: hidden;
	}
    a,
    .field-content {
        display: block;
        overflow: hidden;
    }
	img {
		display: block;
	}
}
.block-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    text-transform: uppercase;
    color: white;
    margin: 0;
    padding: 0.75em 20px;
    background: @pink;
}
.header-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: white;
    padding: 1em 0;
    background: black;
}
.submitted {
    font-size: 20px;
    margin: 1em 0;
}
.user-image {
    text-align: center;

    img {
        overflow: hidden;
        display: inline-block;
        .border-radius(50%);
    }
}





/*
# Standardise - MISC
*/






html body.admin-menu {
//	margin-top: 0 !important;
}
.item-list {

    .pager-load-more  {
        margin: 0;

        li {
            display: block;
            margin: 0;
            padding: 0;
        }
        a {
            .btn();
        }
    }
}
ul.menu {
	margin: 0;
	padding: 0;
	.clearfix();

	li {
		float: left;
		list-style: none;
        padding: 0;
        margin: 0;

        &:before {
            display: none;
        }
	}
    a {
        text-decoration: none;
    }
}
.breadcrumb {
    display: none;
}
.cke.cke_chrome {
    border: 1px solid @border;
    box-shadow: none;
    -webkit-box-shadow: none;
    .border-radius(2px);

    .cke_top {
        margin: 8px;
        padding: 0;
        background: none;
        border: none;
        filter: none;
        box-shadow: none;
        -webkit-box-shadow: none;
    }
    .cke_toolgroup {
        background: none;
        border: none;
        margin: 0;
        filter: none;
        box-shadow: none;
        -webkit-box-shadow: none;
    }
    .cke_button {
        border-bottom: 2px solid transparent;
        background: none;
        filter: none;
        box-shadow: none;
        -webkit-box-shadow: none;
        cursor: pointer;

        &.cke_button_on {
            border-color: @dark;
        }
        a {
            background: transparent;
        }
    }
    .cke_wrapper {
        background: none;
    }
    .cke_contents {
        margin: 8px;
        border: none;
    }
    .cke_bottom {
        padding: 0;
        overflow: visible;
        border: none;
        box-shadow: none;

        * {
            display: none;
        }
        .cke_resizer {
            display: block;
            position: absolute;
            bottom: 3px;
            right: 3px;
            margin: 0;
        }
    }
}
.counter,
.description {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    margin: 6px 0;

    .form-item & {
        font-size: 12px;
    }
    strong {
        color: darken(@text,25%);
    }
    .form-type-textarea + fieldset + & {
        margin-top: -6px;
    }
}
.messages {
    height: auto;
    max-height: 640px;
    overflow: auto;

    .krumo-root  {
        height: auto;
        max-height: 30em;
        overflow: auto;
    }
}
.node-unpublished {
    overflow: hidden;
}
#skip-link {
	margin: 0;
}
#main-content {
    display: inline;
}
#autocomplete {
    font-size: 13px;
    padding: 0 1em;
    background: white;
}
.clearfix:after {
    content: "";
    display: table;
}
.ajax-progress,
ul.action-links,
.field-collection-view-links {
	display: none;
}
.term-listing-heading + p,
.page-taxonomy-term .region-content > div > .item-list {
    display: none;
}
.popup-btn#masquerade {
    display: none;

    body.admin-menu & {
        display: block;
    }
}
.switch-btns {
    width: 100%;
    display: table;
    table-layout: fixed;

    .btn {
        font-size: 14px;
        line-height: 1;
        text-align: center;
        color: white;
        padding: 1em 0;
        display: table-cell;
        background: #333;
        .transition();

        &.active {
            background: @pink;
        }
    }
}
#scroller {
	position: absolute;
	z-index: 1;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	width: 100%;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	text-size-adjust: none;
}





/*
# Standardise - Swiper
*/






.swiper-container {
	overflow: hidden;
}
.swiper-wrapper {
	padding: 0;
	margin: 0;
	list-style: none;
}
.swiper-slide {
	float: left;

	img {
		display: block;
	}
}
.swiper-pagination {
    text-align: center;
    margin: 0.5em 0;

    .swiper-pagination-switch {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin: 5px;
        border: 1px solid @dark;
        .border-box();
        .border-radius(50%);
    }
    .swiper-active-switch {
        background: @dark;
    }
}
.swiper-control {

    .slide-button {
        font-size: 20px;
        line-height: 1;
        text-align: center;
        color: @pink;
        position: absolute;
        top: 50%;
        width: 30px;
        margin: 0 10px;
        margin-top: -15px;
        padding: 5px;
        overflow: hidden;
        .border-box();
        .border-radius(50%);
        .bg-color(@pink,0.8);

        &:hover {
            color: @pink-dk;
        }
        &:before {
            font-family: @fonticon;
            color: white;
        }
        &.next {
            right: 0;

            &:before {
                content: "\f105";
                margin-left: 3px;
            }
        }
        &.prev {
            left: 0;

            &:before {
                content: "\f104";
                margin-right: 3px;
            }
        }
    }
}
.slide-button {
	cursor: pointer;
	.transition();
}





/*
# Navigation
*/

#navigation {

	.nav-backdrop {
		.opacity(0);
		.transition();

		body.menu-on & {
			overflow: hidden;
			position: fixed;
			top: 0;
			bottom: 0;
			left: 0;
			right: 0;
			z-index: 998;
//			.bg-color(black,0.2);
			.opacity(1);
		}
	}
	.nav-menu {
		position: fixed;
		width: @menu-width;
		left: -@menu-width;
		top: 0;
		height: 100%;
		color: @grey;
        background: white;
		z-index: 999;
        overflow: scroll;
		.transition();

		body.menu-on & {
			box-shadow: 0 0 2em rgba(0,0,0,0.4);
		}
	}
}

@menu-width: 260px;

.region-navigation {

    .wrapper {
        padding: 0;
    }
    .nav-menu > .wrapper {
        padding: 30px;
    }
    .menu,
    .nice-menu {
        float: none;

        ul {
            position: static;
            border: none;
            z-index: 0;

            .menu__link {
                padding-left: 2em;
                color: @pink;
            }
        }
    }
    .menu__item {
        width: auto;
        margin: 0;
        border: none;
        background: none !important;
        float: none;

        &.btn {
            margin: 0 0 10px;
        }
        &.icon {
            display: inline-block;
            margin: 0 5px 0 0;
        }
    }
	.menu__link {
        font-size: 13px;
        text-transform: uppercase;
        text-decoration: none;
        display: block;
        color: @grey;
        padding: 10px 0;

        &.active {
            font-weight: 600;
        }
	}
    .jessica-btn {
        font-size: 14px;
        margin: 0;
        padding: 1em;
        color: white;
    }
    .icon a {
        background: center center no-repeat;
        width: 35px;
        height: 35px;
        padding: 10px 0;
        text-indent: -9999px;
        overflow: hidden;
    }
    hr {
        margin: 0;
    }
    .facebook a {
        background-image: url(../images/icons/share-facebook.png)
    }
    .weibo a {
        background-image: url(../images/icons/share-weibo.png)
    }
    .instagram a {
        background-image: url(../images/icons/share-instagram.png)
    }
    .youtube a {
        background-image: url(../images/icons/share-youtube.png)
    }
    .social-buttons {
        margin: 1em 0;

        & > input {
            margin-right: 5px;
        }
    }
}







/*
# Header & Footer
*/




#header {
    background: white;
    .clearfix();

    &.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        width: 100%;
        height: 55px;
        box-shadow: 0 0 1em rgba(0,0,0,0.1);

        & + #main {
            padding-top: 55px;
            /*
            position: absolute;
            top: 55px;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            overflow: auto;
            */
        }
    }
    .wrapper {
        padding: 0;
    }
    .menu-trigger {
        width: 55px;
        height: 55px;
        float: left;
        background: center center no-repeat url(../images/ui/header-menu.png);
    }
    .search-trigger {
        width: 55px;
        height: 55px;
        float: right;
        background: center center no-repeat url(../images/ui/header-search.png);

        & + .font-size-trigger {
            margin-right: -1em;
        }
    }
    .font-size-trigger {
        width: 55px;
        height: 55px;
        float: right;
        background: center center no-repeat url(../images/ui/aa.png);
        display: none;

        body.not-front.page-node & {
            display: block;
        }
        &.active {
            background-image: url(../images/ui/aa-on.png);
        }
    }
    #logo {
        width: auto;
        min-width: 110px;
        height: 55px;
        float: left;
        margin-left: -0.5em;
        background: center center no-repeat url(../logo.png);

        img {
            height: inherit;
            display: block;
        }
    }
    form.search-block {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin: 0;
        padding: 10px;
        background: white;
        display: none;

        .views-exposed-widgets {
            margin: 0;
        }
        .views-exposed-widget {
            float: none;
            padding: 0;
        }
        .form-item {
            margin: 0;
        }
        .form-text {
            width: 100%;
            height: 34px;
            border: none;
            border-bottom: 1px solid @border;
        }
        .form-submit {
            position: absolute;
            top: 0;
            right: 0;
            width: 55px;
            height: 55px;
            background: center center no-repeat url(../images/ui/header-search.png);
            min-width: 0;
            margin: 0;
            text-indent: -9999px;
            overflow: hidden;
        }
    }
    .contextual-links-region {
        position: static;
    }
}
#footer {
    text-align: center;
    padding: 20px;
    background: #1a1a1a;
    color: @border;

    &:before {
        content: "";
        width: 110px;
        height: 55px;
        display: block;
        background: center center no-repeat url(../logo-w.png);
    }
    & > .wrapper {
        padding: 0;
    }
    .block-title {
        display: none;
    }
    hr {
        margin: 20px 0;
        border-color: #4d4d4d;
    }
    .menu__item,
    .views-row {
        float: none;
        margin: 0 0 10px;

        a {
            display: block;
            color: inherit;
            text-decoration: none;

            &:hover {
                color: white;
            }
        }
    }
    .icon {
        display: inline-block;
        margin: 0;

        a {
            text-indent: -9999px;
            overflow: hidden;
            width: 35px;
            height: 35px;
            margin: 0 5px;
            display: block;
            background: center center no-repeat;
        }
    }
    .facebook a {
        background-image: url(../images/icons/share-facebook.png)
    }
    .weibo a {
        background-image: url(../images/icons/share-weibo.png)
    }
    .instagram a {
        background-image: url(../images/icons/share-instagram.png)
    }
    .youtube a {
        background-image: url(../images/icons/share-youtube.png)
    }
    div[id*="footer-category-menu-block"] {
        width: 50%;
        padding: 10px 0;
        float: left;

        & + .block {
            width: 50%;
            padding: 10px 0;
            float: right;

            & + * {
                clear: left;
            }
        }
    }
    .copyright {
        color: white;
    }
    div[id*="footer-other-menu"] {
        padding: 20px 0 0;
        border-top: 1px solid #4d4d4d;
    }
}





/*
# Global pages
*/



body.page-node {

    .region-content  {

        .block {
            margin: 0 20px;
        }
    }
}
.view.jfamily-magazine {
    font-size: 14px;
    background: @text;
    color: white;
    padding: 25px 40px;

    a {
        color: inherit;
    }
    .view-header {
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
        text-transform: uppercase;

        &:after {
            content: "";
            display: block;
            width: 80px;
            height: 1px;
            margin: 20px 0;
            background: white;
        }
    }
    .views-row {
        margin: 0 0 1em;
    }
}
.region-overlay {

    .block-scmedia-social-share-buttons {
        position: fixed;
        top: 50%;
        left: 0;
        margin: 10px;
        margin-top: -200px;
        z-index: 1;
        display: none;

        .social-buttons input {
            margin: 10px;
            display: block;
            .transition();

            &:hover {
                margin-left: 20px;
            }
        }
    }
}
.fb_iframe_widget {
    display: block !important;
    width: 100% !important;
    margin: 0;

    span,
    iframe {
        width: 100% !important;
    }
}
.block.adblock {
    margin: 10px 0 !important;
    text-align: center !important;

    .wrapper {
        padding: 0 10px !important;
    }
}

// Fields

.field-name-field-category {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;

    a {
        font-weight: inherit;
        text-decoration: none;
    }
}
.field-name-field-tags {
    margin: 1em auto;
    text-align: center;

    .field-item {
        display: inline-block;
    }
    .field-item a {
        font-size: 13px;
        font-weight: 500;
        line-height: 1;
        text-decoration: none;
        color: @dark;
        display: block;
        margin: 4px 2px;
        padding: 0.5em 1em;
        border: 2px solid @dark;

        &:hover {
            border-color: @pink;
            color: @pink;
        }
    }
}
.field-collection-view,
.field-collection-container {
    margin: 0;
    padding: 0;
    border: none;
}
.quote {
    font-size: 17px;
    line-height: 28px;
    margin: 20px 0;
    padding-left: 80px;
    background: left 10px top no-repeat url(../images/icons/quote.png);
}





// Styled table






/*
# Homepage
*/




body.front {

    #main {
        margin: 0;
    }
    .region-content {
        display: none;
    }
    .wrapper-grid-table {
        margin: 0;
    }
    .views-view-grid {
        display: block;

        tbody,
        tr,
        td {
            display: block;
            padding: 0;
        }
    }
    .swiper.featured-slides {
        position: relative;

        .desktop {
            display: none;
        }
        .wrapper {
            padding: 0;
        }
        .swiper-slide {
            width: 100%;
        }
        .field-name-field-slideshow-images {
            height: 0;
            padding-bottom: 62.5%;
            background: center center no-repeat;
            background-size: cover;
        }
        .views-field-body {
            font-size: 20px;
            font-weight: 700;
            color: @dark;
            padding: 15px 20px;

            p {
                margin: 0;
            }
        }
        .swiper-slide-visible {

            .field-content * {
                .opacity(1);
            }
        }
        .slide-button {
            margin-top: -3em;
        }
    }
    .great-picks {

        .views-field {
            margin: 0;
        }
    }
    .feature-article {

        h2 {
            font-size: 24px;
            margin: 0.25em 0;
        }
        p {
            display: none;
        }
    }
    .customer-comment {
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        margin: 0 20px 20px;

        h4 {
            margin: 0;
            color: @dark;

            &:after {
                content: "";
                display: block;
                width: 28px;
                margin: 1em auto;
                border-bottom: 2px solid @pink;
            }
        }
        p {
            line-height: 1.5;
        }
        .client-name {
            color: @pink;
        }
    }
}
.quote-of-the-day {
    text-align: center;
    padding: 2em;
    background: @light;

    .view-header {
        font-size: 20px;
        line-height: 1;
        text-transform: uppercase;
        margin: 0;

        &:after {
            content: "";
            display: block;
            width: 30px;
            height: 2px;
            margin: 12px auto;
            background: @pink;
        }
    }
    p {
        font-size: 13px;
        font-weight: 600;
        color: @grey;
    }
}
.col-2-fullwidth {
    text-align: center;
    color: white;

    .wrapper-grid-table {
        margin: 0;
    }
    .views-view-grid td {
        position: relative;
    }
    .views-field-view-node a {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        .valign();
    }
    td {
        padding: 0;
    }
    h2 {
        font-size: 20px;
        color: white;
        text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.75);
    }
    .btn {
        font-size: 14px;
        line-height: 1;
        color: @dark;
        margin: 28px 0 0;
        padding: 1em 2em;
        display: inline-block;
        background: white;
    }
    .video-thumbnail:after {
        position: static;
    }
}




/*
# Article
*/




body.page-category {

}
article.node {
    font-size: 15px;
    line-height: 20px;
    padding: 20px;

    body.font-size-trigger-on & {
        font-size: 18px;
        line-height: 24px;
    }
    .adblock + & {
        padding-top: 0;
    }
    .social-buttons {
        text-align: center;

        input {
            width: 30px;
            height: 30px;
            display: inline-block;
            margin: 2px;
        }
    }
    .field-name-title-field {

        h2 {
            text-align: center;
            margin: 0;
        }
    }
    .publication-date {
        font-size: 13px;
        text-align: center;
        margin: 0.5em 0;
    }
    .field-name-field-category {
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        color: white;
        margin: 0 -20px;
        padding: 1em;
        background: black;

        .hierarchical-select-item-separator {
            display: none;

            & + .lineage-item:before {
                content: " - ";
            }
        }
    }
    .field-name-field-image {

        img {
            display: block;
            margin: 0 auto 20px;
        }
    }
    .field-type-image {

        img {
            display: block;
            margin: 1em auto;
        }
    }
    .embedded-video {

        iframe {
            display: block;
            height: auto;
            margin: 0 auto;
        }
    }
}





// Popup

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    .bg-color(black,0.5);

    h2.block-title {
        font-size: 20px;
        margin: 0 0 1em;

        &:after {
            margin-left: auto;
            margin-right: auto;
        }
    }
    .popup-wrapper {
        height: 100%;
        .valign();
    }
    .popup {
        width: auto;
        min-width: 240px;
        padding: 20px;
        background: white;
        box-shadow: 0 0 2em rgba(0,0,0,0.5);
        overflow: hidden;
        .border-radius(4px);
    }
    form {

        .form-submit {
            width: 100%;
            margin: 1em 0 0;
            float: none;
        }
    }
}




/*
# Blog List
*/




.blogger-block {
    background: @light;

    .view-content {
        padding: 20px;
    }
    &.swiper {
        text-align: center;

        .user-image {

            img {
                width: 50%;
                min-width: 120px;
                height: auto;
                min-height: 120px;
                margin: 0.5em auto;
            }
        }
    }
    &.aside-block {

        .view-content {
            padding: 0;
        }
        .views-row {
            margin: 20px;
        }
        .block-image {
            width: 80px;

            img {
                width: 80px;
                height: 80px;
            }
            & + .content {
                margin-left: 80px;
                padding-left: 1em;
            }
        }
    }
    h4 {
        font-size: 18px;
        font-weight: 600;
        margin: 0 0 0.5em;;
        color: @dark;
    }
}




/*
# Login & Register
*/



body.login-n-register {

    #main {
        background: center center no-repeat url(../images/pages/user/bg-login.png);
        background-size: cover;

        &:before {
            content: "Login";
            font-size: 14px;
            font-weight: 500;
            text-align: center;
            text-transform: uppercase;
            color: white;
            padding: 1em;
            background: black;
        }
    }
    .region-content {
        text-align: center;
        color: white;
        text-shadow: 0 0 1em rgba(0,0,0,0.5);

        & > .wrapper {
            padding: 20px;
        }
        .title {
            margin: 20px 0;
        }
        h2 {
            font-size: 24px;
            line-height: 1.125;
            color: inherit;

            & + .sub-heading {
                margin-top: -0.5em;
            }
        }
        p {

        }
        .sub-heading {
            font-size: 13px;
        }
        label {
            display: none;
        }
        .form-text {
            padding: 10px;
            background: @dark;
            color: white;
        }
        .form-type-select {

            .input-icon-suffix:after {
                color: white;
            }
        }
        .form-submit {
            display: block;
            width: 100%;
            margin: 0 0 1em;
        }
        .forgot-pass {
            float: left;
            font-size: 18px;
            line-height: 40px;
            color: white;

            a {
                color: inherit;

                &:after {
                    content: "?";
                }
            }
        }
        .description {
            text-align: left;
        }
        .button-set {
            margin: 2em 0;
        }
        .btn {
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: 0.5px;
            white-space: nowrap;
            color: @dark;
            display: block;
            margin: 1em 0;
            padding: 1.5em 0;
            border: 2px solid white;
            text-shadow: none;
            .bg-color(white,0.1);

            &:hover {
                color: @purple;
                .bg-color(white, 1);
            }
        }
    }
    .captcha {

        img {
            display: block;
            margin: 1em auto;
        }
    }
    .circle {
        line-height: 3em;
        color: @dark;
        width: 3em;
        height: 3em;
        margin: 3em auto;
        display: block;
        background: white;
        .border-radius(50%);
    }
}
body.page-register {

    #main {
        margin: 0;
//        background: center center no-repeat url(../images/pages/user/bg-jessica.png);
//        background-size: cover;
        overflow: hidden;
    }
    .region-content {
        color: @dark;
        text-shadow: 0 0 0.5em rgba(255,255,255,0.5);
        .clearfix();

        form {

            .description,
            .field-group-fieldset > legend,
            .form-type-textfield label,
            .form-type-password label {
                text-align: left;
                display: none;

                &.option {
                    display: inline-block;
                }
            }
            .form-submit {
                display: block;
                float: none;
                width: 100%;
                margin: 2em 0;
                padding: 1.5em 1em;
            }
            .privacy_statement_wrapper {
                margin: 0 0 0.5em;
            }
            .captcha {

                img {
                    display: block;
                    margin: 1em auto;
                }
            }
        }
    }
    .breadcrumb {
        display: none;
    }
    .register-title {
        font-size: 21px;
        font-weight: 700;
        margin: 0.25em 0;
    }
    .register-logo {
        height: 80px;
        background: center center no-repeat url(../images/pages/logo-jessica.png);
    }
    .register-title,
    .register-logo,
    .register-text {
        text-align: center;
    }
}
body.page-register-dream-wedding {

//    #main {
//        background-image: url(../images/pages/user/bg-wedding.png);
//    }
    .register-logo {
        background-image: url(../images/pages/logo-wedding.png);
    }
}
body.page-register-jessica-baby {

//    #main {
//        background-image: url(../images/pages/user/bg-baby.png);
//    }
    .register-logo {
        background-image: url(../images/pages/logo-baby.png);
    }
}




/*
# Profile page
*/




.block-jessica-member {
    color: white;

    & > .wrapper {
        padding: 0;
    }
    & + .block-menu {
        margin: 20px;

        .wrapper {
            padding: 0;
        }
        .menu__item {
            float: none;
            margin: 1em 0;
        }
        .jessica-btn {
            display: block;
            margin: 1em 0;
        }
    }
    .user-picture {
        position: relative;

        img {
            width: 100%;
        }
        &:after {
            content: "";
            display: block;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            height: 160px;
            background: bottom center repeat-x url(../images/profile-shadow.png);
        }
    }
    h3 {
        margin: 0 0 0.25em;
    }
    .member-info-row {
        position: relative;
    }
    .user-info {
        position: absolute;
        bottom: 0;
        left: 0;
        margin: 20px;
    }
    .userpoint-section {
        position: absolute;
        bottom: 0;
        right: 0;
        margin: 20px;
    }
}
body.page-register,
body.page-user-edit {

//    .block-jessica-member,
    .block-jessica-member + .block-menu {
        display: none;
    }
    form {
        margin: 20px;

        & > div > .field-group-fieldset {
            margin: 0 0 1em;
            padding: 0;
            border: none;

            & > legend {
                float: left;
                width: 100%;
                padding: 4px 0 0;
                border-top: 4px solid @dark;

                .fieldset-legend {
                    font-size: 16px;
                    text-transform: uppercase;
                    color: white;
                    display: block;
                    margin: 0 0 1em;
                    padding: 1em;
                    background: @dark;

                    &:after {
                        content: "\f0dd";
                        font-family: @fonticon;
                        color: @dark;
                        position: relative;
                        top: -3px;
                    }
                    a {
                        text-decoration: none;
                        color: inherit;
                    }
                }
            }
        }
        .field-group-div {

            & > h3 {
                display: none;
            }
        }
        .member-account-text {
            color: @dark;
            margin: 1em 0;
        }
        .password-strength {
            position: absolute;
            bottom: 100%;
            right: 0;
            width: 50%;
            margin: 0.25em 0;
        }
        .password-strength-text {
            display: none;
        }
        .password-strength-title {
            display: block !important;
            font-size: 12px;
            margin: 0.25em 0;
        }
        .confirm-parent,
        .password-parent,
        input.password-confirm,
        input.password-field {
            width: 100%;
        }
        .field-widget-date-select,
        .field-widget-options-select {
            float: none;

            .form-type-select {
                margin-right: 0;
            }
            .date-padding {

                & > .form-type-select {
                    margin-right: 10px;
                }
            }
        }
        fieldset[id^=edit-picture] {
            padding: 0;
            border: none;
            border-bottom: 1px solid @border;

            legend {
                display: none;
            }
            .user-picture {
                width: 100px;
                display: block;
                position: absolute;

                & + .form-item {
                    height: auto;
                    min-height: 100px;
                    margin-left: 120px;
                }
            }
        }
        .field-name-field-address {

            fieldset {
                padding: 0;
                border: none;
            }
            label {
                display: none;
            }
            legend {
                padding: 0;
            }
            .fieldset-legend {
                padding: 0;
                background: none;
            }
        }
        .field-name-field-boolean-user {

            .form-radios {
                margin: 1em 0;
            }
            .form-type-radio {
                float: none;
            }
        }
    }
}





/*
# Search page
*/




.view-search-page {

    .search-title {
        font-size: 14px;
        font-weight: 500;
        line-height: 1;
        text-align: center;
        text-transform: uppercase;
        color: white;
        padding: 1em 0;
        background: black;

        h2, h4 {
            color: inherit;
        }
    }
    h2.views-field {
        text-align: center;
    }
    .block-image {
        float: none;
        width: auto;
        margin: 0.5em 0;

        & + .content {
            margin: 0;
            padding: 0;
            position: static;
            color: inherit;
            background: none;
        }
    }
    .jessica-btn {
        margin: 1em 0;
    }
    .views-row {
        margin: 20px;
        padding: 0 0 1em;
        border-bottom: 1px solid @border;
    }
}





/*
# Custom page
*/




body.node-type-html-page {

    .region-content {

    }
    .node-title {
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        text-transform: uppercase;
        color: white;
        padding: 1em;
        background: black;
    }
    table, tr, td, tbody {
        display: block;
        padding: 0;
    }
    #contact-us {

        p span {
            color: @pink;
        }
    }
    #thankyou-page {

        .content {
            text-align: center;
            min-height: 0;
            padding: 20px 0;
        }
        .jessica-btn {
            display: block;
            width: 100%;
            margin: 1.5em 0;
            padding: 1.5em;
        }
        .register-title {
            font-size: 21px;
            font-weight: 700;
            margin: 0.25em 0;
        }
        p {
            font-size: inherit;

            strong {
                font-size: 20px;
                line-height: 1.25;
            }
        }
        .register-logo {
            height: 80px;
            background: center center no-repeat url(../images/pages/logo-jessica.png);
        }
        .register-title,
        .register-logo,
        .register-text {
            text-align: center;
        }
        &.baby {

            .register-logo {
                background-image: url(../images/pages/logo-baby.png);
            }
        }
        &.wedding {

            .register-logo {
                background-image: url(../images/pages/logo-wedding.png);
            }
        }
    }
}








/*
# Responsive
*/




@media
only screen and (max-width: 480px) and (orientation: portrait),
only screen and (max-width: 640px) and (orientation: landscape) {

    body.admin-menu {
        margin-top: 0 !Important;
    }
	#admin-menu {
        display: none !important;
    }
}

@media
only screen and (max-width: 1280px) {

}

@media
only screen and (min-width: 1280px) {
}

.page-stylebook .article-inner .gender-tabs {
  display: none;
}
.page-stylebook .filter-board-inner div.filter-main-grp:first-child {
  display: none;
}